﻿using System.Windows.Data;

namespace SABnzbdNET.Converters
{
    public class ProcessingConverter : IValueConverter
    {
        public object Convert(object value, System.Type targetType, object parameter, System.Globalization.CultureInfo culture)
        {
            switch ((int)value)
            {
                case 1:
                    return "+Repair";
                case 2:
                    return "+Unpack";
                case 3:
                    return "+Delete";
                default:
                    return "Download";
            }
        }

        public object ConvertBack(object value, System.Type targetType, object parameter, System.Globalization.CultureInfo culture)
        {
            throw new System.NotImplementedException();
        }
    }
}
